import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'ant-design-vue/dist/antd.css'
import Antd from 'ant-design-vue'
// eslint-disable-next-line no-irregular-whitespace
import  APlayer  from  '@moefe/vue-aplayer'
import '@/assets/icon-font/iconfont.css' // global css
import VueParticles from 'vue-particles'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/styles/index.scss' // global css
import '@/icons' // icon
import '@/permission'
import VueVideoPlayer from 'vue-video-player'
// require videojs style
import 'video.js/dist/video-js.css'
// import 'vue-video-player/src/custom-theme.css'

Vue.use(VueVideoPlayer,
    /* {
  options: global default options,
  events: global videojs events
} */
)

Vue.config.productionTip = false
Vue.use(Antd)
Vue.use(ElementUI)
Vue.use(APlayer, {
    defaultCover: 'https://github.com/u3u.png',
    productionTip: true
})
Vue.use(VueParticles)

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')